package com.sc.highspeed.db.dao;


import com.sc.highspeed.db.model.EsCarInfoModel;
import com.sc.highspeed.db.model.EsCarInfoTempModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Admin on 2017/11/27.
 */

public interface EsCarInfoDao {

    List<EsCarInfoModel> getEsCarInfoByNumber(@Param("number") String number, @Param("color") String color);
    EsCarInfoModel getEsCarInfo(int id);
    List<EsCarInfoModel> getEsCarInfoList(@Param("startRow") int startRow, @Param("pageSize") int pageSize);
    int insertEsCarInfo(EsCarInfoModel esCarInfoModel);
    int updateEsCarInfoById(EsCarInfoModel esCarInfoModel);
    int deleteEsCarInfoById(int id);
    int updateEsCarInfoIsListById(@Param("id") int id, @Param("isList") String isList);
    int updateEsCarInfoListById(@Param("id") int id, @Param("list") String list);
    int updateEsCarInfoIsProcessById(@Param("id") int id, @Param("isProcess") String isProcess);
    int updateEsCarInfoProcessById(@Param("id") int id, @Param("process") String process);
    int updateEsCarInfoRemarkById(@Param("id") int id, @Param("remark") String remark);
    List<EsCarInfoModel> getHazyEsCarInfo(@Param("number") String number, @Param("color") String color);
    List<EsCarInfoModel> searchEsCarInfo(@Param("startTime") String startTime, @Param("endTime") String endTime, @Param("type") String type, @Param("list") String list, @Param("minRmb") int minRmb, @Param("maxRmb") int maxRmb, @Param("color") String color, @Param("number") String number);

    int getEsCarInfoNumber();

}
